package com.harmony.rpc;

import com.harmony.rpc.remote.ProxyRemote;
import ohos.rpc.IRemoteObject;

public class HarmonyRpc {

    private static HarmonyRpc harmonyRpc = new HarmonyRpc();

    private HarmonyRpc() {
        super();
    }

    public static HarmonyRpc getInstance() {
        if (harmonyRpc == null) {
            harmonyRpc = new HarmonyRpc();
        }
        return harmonyRpc;
    }

    public ProxyRemote createProxy() {
        return new ProxyRemote();
    }

}
